﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using PubSubWeb.Model;

namespace PubSubWeb.Container
{
    public class VerificationAsyncState
    {
        private Subscription subscription;
        private string challenge;
        private HttpWebRequest request;

        public VerificationAsyncState(Subscription sub)
        {
            this.subscription = sub;
            this.challenge = Guid.NewGuid().ToString();
        }

        public Subscription Subscription 
        {
            get
            {
                return this.subscription;
            }
        }

        public string Challenge
        {
            get
            {
                return this.challenge;
            }
        }

        public HttpWebRequest Request
        {
            get
            {
                return this.request;
            }
        }
    }
}
